Tic-tac-toe rules. When you place, your opponent will then place, followed by your ally, followed by your enemy.
For how goofy and preachy a lot of the text in the games I made in the era this is from are, this one actually holds up surprisingly well.